//
//  LFTMCHttpManager.h
//  lofter-mvpcourse-ios
//
//  Created by zmm on 8/5/2017.
//  Copyright © 2017 undefined-zola. All rights reserved.
//

#import <AFNetworking/AFNetworking.h>

@interface LFTMCHttpManager : AFHTTPSessionManager

+ (LFTMCHttpManager *)manager;

@end

@interface LFTMCHttpManager (MvpCourse)

- (void)fetchTeamInfo:(NSString *)teamId
          lofterToken:(NSString *)token
          lofterMobId:(NSString *)mobId
              success:(void(^)(NSDictionary *))success
              failure:(void (^)(NSError *error))failure;

- (void)updateTeamMute:(NSString *)teamId
                  mute:(BOOL)isMute
               success:(void(^)())success
               failure:(void (^)(NSError *error))failure;

- (void)closeTeamOperation:(NSString *)teamId
                   success:(void(^)())success
                   failure:(void (^)(NSError *error))failure;
@end

